﻿.type-head .parent-types {
    border: 1px solid #ccc;
}

    .type-head .parent-types .top {
        height: 30px;
        border-bottom: 1px solid #ccc;
        background-color: #f5f5f5;
        line-height: 30px;
        padding-left: 5px;
    }

        .type-head .parent-types .top > b {
            font-weight: bold;
            font-size: 1rem;
            color: #222;
        }

        .type-head .parent-types .top .gdscount {
            color: red;
        }

    .type-head .parent-types .btm-list {
        padding: 10px 0;
        box-sizing: border-box;
        height: 100px;
    }



        .type-head .parent-types .btm-list ul {
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

            .type-head .parent-types .btm-list ul .sel .typename {
                color: red;
                font-weight: bold;
            }

            .type-head .parent-types .btm-list ul li {
                border-right: 1px solid #ccc;
                display: flex;
                justify-content: space-between;
                align-items: center;
                flex-direction: column;
                height: 100%;
                flex-grow: 1;
                cursor: pointer;
            }

                .type-head .parent-types .btm-list ul li > a {
                    display: block;
                    width: 100%;
                    height: 100%;
                }

                .type-head .parent-types .btm-list ul li .typeico i:first-child {
                    margin-top: -60px;
                }

                .type-head .parent-types .btm-list ul li:hover .typeico i:first-child {
                    margin-top: 0;
                }

                .type-head .parent-types .btm-list ul li .typeico i:before {
                    color: red;
                    font-size: 2.7rem;
                }

                .type-head .parent-types .btm-list ul li:nth-child(1) .typeico > i:before {
                    font-weight: bold;
                }

                .type-head .parent-types .btm-list ul li:last-child {
                    border-style: none;
                }

                .type-head .parent-types .btm-list ul li .typeico {
                    width: 100%;
                    cursor: pointer;
                    overflow: hidden;
                    box-sizing: border-box;
                    height: calc(100% - 20px);
                }

                .type-head .parent-types .btm-list ul li .typename {
                    height: 20px;
                    display: block;
                    text-align: center;
                    font-size: 0.9rem;
                }

                .type-head .parent-types .btm-list ul li:hover .typename {
                    color: red;
                }

                .type-head .parent-types .btm-list ul li .typeico > i {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    transition: margin-top 0.5s;
                    height: 60px;
                }

.type-head .glist {
    height: 50px;
    background-color: #f5f5f5;
    margin-top: 15px;
    border: 1px solid #ddd;
    box-sizing: border-box;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-left: 5px;
}

    .type-head .glist ul {
    }

        .type-head .glist ul li {
            display: inline-block;
            width: 80px;
            height: 25px;
            border: 1px solid #ccc;
            color: #6e6e6e;
            background-color: white;
            line-height: 25px;
            text-align: center;
            cursor: pointer;
            margin-left: 10px;
            font-size: 0.8rem;
        }

            .type-head .glist ul li a {
                display: block;
                width: 100%;
                height: 100%;
                line-height: 25px;
                color: #6e6e6e;
            }


            .type-head .glist ul li:hover, .type-head .glist ul li:hover > a {
                color: red;
            }

        .type-head .glist ul .sel:hover, .type-head .glist ul .sel:hover > a {
            color: white;
        }

        .type-head .glist ul .sel a, .type-head .glist ul .sel {
            background-color: red;
            color: white;
        }
